import {http} from '@/utils/http'

// 添加车辆
export function addCars(data:any) {
    return http.post<any>('/admin/cars/addCars', data)
}

// 修改车辆
export function updateCars(data:any) {
    return http.post<any>('/admin/cars/updateCars', data)
}

// 删除车辆
export function deleteCars(id:string) {
    return http.post<any>('/admin/cars/deleteCars/'+id)
}

// 获取车辆详情
export function getCars(id:any) {
    return http.post<any>('/admin/cars/getCars/'+id)
}

// 获取车辆分页列表
export function getCarsPage(data:any) {
    return http.post<any>('/admin/cars/getCarsPage', data)
}





















